package com.tocea.formation.tpLibraryEjb.service;
import java.util.List;

import javax.ejb.Remote;

import com.tocea.formation.tpLibraryEjb.DTO.BookDTO;

@Remote
public interface IBookBean{

	public void addBook(BookDTO b);
	public void updateBook(BookDTO b);
	public void deleteBook(BookDTO b);
	public List<BookDTO> findBook(String s);
	boolean exists(String name);
	List<BookDTO> getAll();
	void addExemplaires(String isbn, Integer ex);
	void removeExemplaires(String isbn, Integer ex);
	
}
